package com.znufe.exam.service.h5;

import com.github.pagehelper.PageInfo;
import com.znufe.exam.domain.h5.H5ExamPaper;
import com.znufe.exam.service.BaseService;
import com.znufe.exam.viewmodel.h5.H5ExamPaperEditRequestVM;
import com.znufe.exam.viewmodel.h5.H5ExamPaperPageRequestVM;
import com.znufe.exam.viewmodel.h5.H5ExamPaperPageVM;

import java.util.List;

public interface H5ExamPaperService extends BaseService<H5ExamPaper> {

    PageInfo<H5ExamPaper> page(H5ExamPaperPageRequestVM h5requestVM);

    PageInfo<H5ExamPaper> taskExamPage(H5ExamPaperPageRequestVM h5requestVM);

    PageInfo<H5ExamPaper> studentPage(H5ExamPaperPageVM h5requestVM);

    //H5ExamPaper savePaperFromVM(H5ExamPaperEditRequestVM h5examPaperEditRequestVM, User user);

    H5ExamPaperEditRequestVM examPaperToVM(Integer id);

//    List<PaperInfo> indexPaper(PaperFilter paperFilter);
//
//    Integer selectAllCount();
//
//    List<Integer> selectMothCount();

    /**
     * 根据ID获取正式考试试卷列表
     * @param ids
     * @return
     */
    List<H5ExamPaper> getExamPaperListById(List<Integer> ids);

    /**
     * 根据ID获取所有试卷列表
     * @param ids
     * @return
     */
    List<H5ExamPaper> getAllExamPaperListById(List<Integer> ids);

}
